﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>收银系统</title>
    <link href="css/base.css" rel="stylesheet" type="text/css" />
    <link href="css/login.css" rel="stylesheet" type="text/css" />
    <!-- 弹出层需要以下3行  -->
    <script src="js/jquery-1.11.0.js"></script>
    <script src="js/layer/layer.js"></script>
    <script src="js/login.js"></script>
    <script src="js/popup.js"></script>
    <script src="js/jquery.cookie.js"></script>
</head>

<body>
    <div class="login_logo"><img src="img/logo.png" /></div>
    <div class="login_user">账号：<input name="phone" id="phone" type="text" maxlength="12" /></div>
    <div class="login_user">密码：<input name="password" id="password" type="password" maxlength="12" /></div>
    <div class="login_signin"><a href="javascript:void(0);" onclick="cashregister()">登录</a></div>
    <script>
        function cashregister() {
            var phone = $('#phone').val();
            var password = $('#password').val();
            login(phone, password);
        }
    </script>
</body>
</html>
